package ccm.component.override;

import ccm.common.CCMConfigManager;

import javax.swing.*;

public class JLabel extends javax.swing.JLabel
{
    public JLabel(String text,Icon icon,int horizontalAlignment)
    {
        super(text,icon,horizontalAlignment);
        setFont(CCMConfigManager.getFont("ccm/general/font"));
    }

    public JLabel(String text,int horizontalAlignment)
    {
        super(text,horizontalAlignment);
        setFont(CCMConfigManager.getFont("ccm/general/font"));
    }

    public JLabel(String text)
    {
        super(text);
        setFont(CCMConfigManager.getFont("ccm/general/font"));
    }

    public JLabel(Icon image,int horizontalAlignment)
    {
        super(image,horizontalAlignment);
        setFont(CCMConfigManager.getFont("ccm/general/font"));
    }

    public JLabel(Icon image)
    {
        super(image);
        setFont(CCMConfigManager.getFont("ccm/general/font"));
    }

    public JLabel()
    {
        setFont(CCMConfigManager.getFont("ccm/general/font"));
    }
}
